package com.td.module.pests.controller.admin.library.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;

import static com.td.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@ApiModel(value = "管理后台 - 病虫害知识库 Excel 导出 Request VO", description = "参数和 LibraryPageReqVO 是一致的")
@Data
public class LibraryExportReqVO {

    @ApiModelProperty(value = "病虫害名称", example = "张三")
    private String diseaseName;

    @ApiModelProperty(value = "病虫害类型", example = "1")
    private Integer diseaseType;

    @ApiModelProperty(value = "农作物类型", example = "1")
    private Integer cropsType;

    @ApiModelProperty(value = "农作物")
    private String crop;

    @ApiModelProperty(value = "病虫害异名")
    private String diseaseNameOther;

    @ApiModelProperty(value = "病虫害英文名")
    private String diseaseNameEng;

    @ApiModelProperty(value = "病虫害简介")
    private String diseaseIntro;

    @ApiModelProperty(value = "病虫害图片列表")
    private String diseaseImgList;

    @ApiModelProperty(value = "防治")
    private String cMethod;

    @ApiModelProperty(value = "危害症状")
    private String damageSym;

    @ApiModelProperty(value = "习性")
    private String habits;

    @ApiModelProperty(value = "形态")
    private String morphology;

    @ApiModelProperty(value = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

}
